package com.briup.DTO;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

@ApiModel("新增或更新检疫记录传输对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AddOrUpdateQuarantimeRegistraionDTO {
    /**
     * 记录id
     */
    @TableId(type = IdType.AUTO)
    private Integer grId;

    /**
     * 检疫时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime grTime;

    /**
     * 检疫证明图片
     */
    private String grImg;

    /**
     * 检疫机构
     */
    private String grMechanism;

    /**
     * 批次id
     */
    private String grBatchId;

    /**
     * 检疫结果
     */
    private String bQualified;
}
